package com.hy.hongying.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_video")
public class Video {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer uid;
    private Integer oid;
    private Integer type;
    private String title;
    private String info;
    private Integer flag;
    private Date ctime;
    public Video(Integer uid, Integer oid, Integer type, String title,String info, Date ctime) {
        this.uid = uid;
        this.oid = oid;
        this.type = type;
        this.title = title;
        this.info = info;
        this.ctime = ctime;
    }
}
